#region

using Microsoft.AspNetCore.WebSockets;
using Vin.AspNetCore.Core;
using Vin.Extension.Framework;
using Vin.WebApi.Tests.Sse;

#endregion

VinFrameworkExtension.InitVinFrameworkExtension();
var builder = WebApplication.CreateBuilder(args);

builder.UseVin();
// builder.Services.AddControllers();

var app = builder.Build();

app.UseVin();
app.UseWebSockets();

// app.UseSse("/test3", new UseSseOption());
// app.MapControllers();

await app.RunAsync();